/** A region area (collection of rectangles)

This module implements MX_REGION which is a vector of rectangles. */

#ifndef MX__DETK_REGION_HEADER
#   define MX__DETK_REGION_HEADER

#   include "deds/vector.h"
#   include "deds/rect.h"

#   ifdef __cplusplus
extern "C" {
#   endif
/** Regions are vectors of rectangles */ typedef MX_VECTOR(MX_RECT) MX_REGION;

	void mx_region_clip(MX_REGION * region, const MX_RECT * rect);

#   ifdef __cplusplus
}
#   endif
#endif
